Metadata-Version: 2.1
Name: Random-Event
Version: 0.2
Summary: A python module made to generate random event at almost random time
Home-page: https://github.com/mossyegghead01/random-event
Author: mossyegghead01
License: MIT
Project-URL: Documentation, https://random-event.readthedocs.io/en/stable/
Description: A python module made to make random event at almost random time based on interval and chance
        
        # Installation
        ```pip install random-event```
        
        # Quick Example
        ```python
        from random_event import events
        
        possible_event_list = ["Earthquake", "Tornado", "Tsunami"]
        
        rand_event = random_event(event_list=possible_event_list, interval=15, chance=50) 
        # every 15 second, it will decide wether it will generate an event or no, if yes it will pick random item from possible_event_list list
        
        @rand_event.event()
        def on_event(event):
            print(event)
           
        rand_event.start() # start generating random event every specified interval time
        ```
Platform: UNKNOWN
Description-Content-Type: text/markdown
